]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Use async functions instead of callbacks
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 23 Jun 2022 16:13:36 +0000 (18:13 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Aug 2022 18:51:14 +0000 (18:51 +0000)
commit119581a4cbadfec4b037a480399dacbc29ef6b32
tree619db63434111341cbe43c76567e700e3aeb89ba
parent1cce999c30ea1f471b135549f269dd073ab49612
search: Use async functions instead of callbacks

Our search provider API has to be asynchronous to support remote
providers. It doesn't have to be based on callbacks though, now
that async functions provide a nicer alternative.

That is particularly true after gjs's D-Bus wrapper started to
generate promise-based method variants.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2344>
js/ui/appDisplay.js
js/ui/remoteSearch.js
js/ui/search.js